<div ng-controller="buildjihuadanC">
    <div class="bg-light lter b-b wrapper-md">
        <h1 class="m-n font-thin h3">创建计划单</h1>
    </div>
    <div class="wrapper-md">
        <div class="panel panel-default">
            <div class="table-responsive">
                <form name="form" class="form-validation">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <span class="h4">编辑计划单</span>
                        </div>
                        <div class="panel-body">
                            <p class="text-muted">Please fill the information to continue</p>
                            <div class="form-group">
                                <label>客户</label>
                                <input type="text" class="form-control" ng-model="user.name" required >
                            </div>
                            <div class="form-group">
                                <label>Email</label>
                                <input type="email" class="form-control" ng-model="user.email" required >
                            </div>
                            <div class="form-group pull-in clearfix">
                                <div class="col-sm-6">
                                    <label>Enter password</label>
                                    <input type="password" class="form-control" name="password" ng-model="password" required >
                                </div>
                                <div class="col-sm-6">
                                    <label>Confirm password</label>
                                    <input type="password" class="form-control" name="confirm_password" required ng-model="confirm_password" ui-validate=" '$value==password' " ui-validate-watch=" 'password' ">
                                    <span ng-show='form.confirm_password.$error.validator'>Passwords do not match!</span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label>Phone</label>
                                <input type="text" class="form-control" placeholder="(XXX) XXXX XXX" ng-model="phone" ng-pattern="/\([0-9]{3}\) ([0-9]{3}) ([0-9]{3})$/" required >
                            </div>
                            <div class="checkbox">
                                <label class="i-checks">
                                    <input type="checkbox" ng-model="agree" required><i></i> I agree to the <a href class="text-info">Terms of Service</a>
                                </label>
                            </div>
                        </div>
                        <footer class="panel-footer text-right bg-light lter">
                            <button type="submit" class="btn btn-success" ng-disabled="form.$invalid">Submit</button>
                        </footer>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>